home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Just Call Me Internet
/
Just Call Me Internet.iso
/
com
/
computer
/
casio_st
/
prog_fx
/
oisac2
/
l_5720.txt
< prev
next >
Wrap
Text File
|
1994-03-01
|
428b
|
11 lines
5 ONERRORGOTO900
20 MODE8:DIM:r=0:h=0:c$=CHR$(5)
30 CLS:PRINT"ãrýh/3 r:radius h:height";
40 s$="r":z=r:GOSUB500:r=z
41 s$="h":z=h:GOSUB500:h=z
50 LOCATE0,1:PRINTc$;"Volume =";PI*r^2*h/3;:z$=INPUT$(1,@):GOTO40
500 LOCATE0,1:PRINTc$;s$;"=";z;"?";:INPUT@42;z:LOCATE0,0:IFz<0 THEN500 ELSERETURN
900 IFERR=1 THENCLS:ONERRORGOTO0
910 IFERL=500 THENRESUME500
930 LOCATE0,1:PRINTc$;"not found";:z$=INPUT$(1,@):RESUME30